package com.schoolCommunity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolCommunity.entity.Information;
import com.schoolCommunity.entity.MailboxMember;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YTH
 * @since 2020-10-14
 */
public interface MailboxMemberService extends IService<MailboxMember> {

    //用户获取尚未阅读的邮箱
    public Information memberGetNoMail(long memberId);

    //用户获取所有邮件
    public Information memberAllMail(long memberId);

    //管理员给某个用户发送邮件
    public Information adminSendToMember(MailboxMember mailboxMember);

    //管理员获取自己发送出去的邮箱
    public Information GetSendFromAdmin(long adminId);

    //用户确认阅读了邮箱
    public Information MemberQueRenMail(long MailId);

}
